name: tests_hybrid run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/bin:/opt/pyenv/bin:/tmp/venv-DcmP/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 3970653214 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid env TOX_ENV_NAME: tests_hybrid env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 38682 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_hybrid/bin/*:launch_tests.sh cmd: ./launch_tests.sh hybrid exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/hybrid/test01_device_change_notifications.py ....FF.....F.FFF.F.F..F.F.F....F.F....F.F...FF..... [100%] =================================== FAILURES =================================== _ TestTransportPCEDeviceChangeNotifications.test_05_connect_xpdrA_N1_to_roadmA_PP1 _ self = def test_05_connect_xpdrA_N1_to_roadmA_PP1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-xpdr-rdm-links', {'links-input': {'xpdr-node': 'XPDRA01', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/hybrid/test01_device_change_notifications.py:121: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_connect_xpdrA_N1_to_roadmA_PP1 _ TestTransportPCEDeviceChangeNotifications.test_06_connect_roadmA_PP1_to_xpdrA_N1 _ self = def test_06_connect_roadmA_PP1_to_xpdrA_N1(self): response = test_utils.transportpce_api_rpc_request( 'transportpce-networkutils', 'init-rdm-xpdr-links', {'links-input': {'xpdr-node': 'XPDRA01', 'xpdr-num': '1', 'network-num': '1', 'rdm-node': 'ROADM-A1', 'srg-num': '1', 'termination-point-num': 'SRG1-PP1-TXRX'}}) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 204 != 200 transportpce_tests/hybrid/test01_device_change_notifications.py:129: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_connect_roadmA_PP1_to_xpdrA_N1 ______ TestTransportPCEDeviceChangeNotifications.test_12_get_eth_service1 ______ self = def test_12_get_eth_service1(self): response = test_utils.get_ordm_serv_list_attr_request( "services", "service1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test01_device_change_notifications.py:193: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_12_get_eth_service1 __ TestTransportPCEDeviceChangeNotifications.test_14_check_update_portmapping __ self = def test_14_check_update_portmapping(self): response = test_utils.get_portmapping_node_attr("XPDRA01", None, None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test01_device_change_notifications.py:214: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_14_check_update_portmapping _ TestTransportPCEDeviceChangeNotifications.test_15_check_update_openroadm_topo _ self = def test_15_check_update_openroadm_topo(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) node_list = response['network'][0]['node'] nb_updated_tp = 0 for node in node_list: self.assertEqual(node['org-openroadm-common-network:operational-state'], 'inService') self.assertEqual(node['org-openroadm-common-network:administrative-state'], 'inService') tp_list = node['ietf-network-topology:termination-point'] for tp in tp_list: if node['node-id'] == 'XPDRA01-XPDR1' and tp['tp-id'] == 'XPDR1-NETWORK1': self.assertEqual(tp['org-openroadm-common-network:operational-state'], 'outOfService') self.assertEqual(tp['org-openroadm-common-network:administrative-state'], 'outOfService') nb_updated_tp += 1 else: self.assertEqual(tp['org-openroadm-common-network:operational-state'], 'inService') self.assertEqual(tp['org-openroadm-common-network:administrative-state'], 'inService') > self.assertEqual(nb_updated_tp, 1, "Only one termination-point should have been modified") E AssertionError: 0 != 1 : Only one termination-point should have been modified transportpce_tests/hybrid/test01_device_change_notifications.py:246: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_15_check_update_openroadm_topo ___ TestTransportPCEDeviceChangeNotifications.test_16_check_update_service1 ____ self = def test_16_check_update_service1(self): response = test_utils.get_ordm_serv_list_attr_request("services", "service1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test01_device_change_notifications.py:265: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_16_check_update_service1 _ TestTransportPCEDeviceChangeNotifications.test_18_check_update_portmapping_ok _ self = def test_18_check_update_portmapping_ok(self): response = test_utils.get_portmapping_node_attr("XPDRA01", None, None) > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/hybrid/test01_device_change_notifications.py:284: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_update_portmapping_ok __ TestTransportPCEDeviceChangeNotifications.test_20_check_update_service1_ok __ self = def test_20_check_update_service1_ok(self): > self.test_12_get_eth_service1() transportpce_tests/hybrid/test01_device_change_notifications.py:312: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:193: in test_12_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_20_check_update_service1_ok _ TestTransportPCEDeviceChangeNotifications.test_23_check_update_openroadm_topo _ self = def test_23_check_update_openroadm_topo(self): response = test_utils.get_ietf_network_request('openroadm-topology', 'config') self.assertEqual(response['status_code'], requests.codes.ok) node_list = response['network'][0]['node'] nb_updated_tp = 0 for node in node_list: self.assertEqual(node['org-openroadm-common-network:operational-state'], 'inService') self.assertEqual(node['org-openroadm-common-network:administrative-state'], 'inService') tp_list = node['ietf-network-topology:termination-point'] for tp in tp_list: if node['node-id'] == 'ROADM-A1-SRG1' and tp['tp-id'] == 'SRG1-PP1-TXRX': self.assertEqual(tp['org-openroadm-common-network:operational-state'], 'outOfService') self.assertEqual(tp['org-openroadm-common-network:administrative-state'], 'outOfService') nb_updated_tp += 1 else: self.assertEqual(tp['org-openroadm-common-network:operational-state'], 'inService') self.assertEqual(tp['org-openroadm-common-network:administrative-state'], 'inService') self.assertEqual(nb_updated_tp, 1, "Only one termination-point should have been modified") link_list = response['network'][0]['ietf-network-topology:link'] updated_links = ['XPDRA01-XPDR1-XPDR1-NETWORK1toROADM-A1-SRG1-SRG1-PP1-TXRX', 'ROADM-A1-SRG1-SRG1-PP1-TXRXtoXPDRA01-XPDR1-XPDR1-NETWORK1'] nb_updated_link = 0 for link in link_list: if link['link-id'] in updated_links: self.assertEqual(link['org-openroadm-common-network:operational-state'], 'outOfService') self.assertEqual(link['org-openroadm-common-network:administrative-state'], 'outOfService') nb_updated_link += 1 else: self.assertEqual(link['org-openroadm-common-network:operational-state'], 'inService') self.assertEqual(link['org-openroadm-common-network:administrative-state'], 'inService') > self.assertEqual(nb_updated_link, 2, "Only two xponder-output/input links should have been modified") E AssertionError: 0 != 2 : Only two xponder-output/input links should have been modified transportpce_tests/hybrid/test01_device_change_notifications.py:374: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_check_update_openroadm_topo _ TestTransportPCEDeviceChangeNotifications.test_25_check_update_portmapping_ok _ self = def test_25_check_update_portmapping_ok(self): > self.test_18_check_update_portmapping_ok() transportpce_tests/hybrid/test01_device_change_notifications.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:284: in test_18_check_update_portmapping_ok self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_25_check_update_portmapping_ok __ TestTransportPCEDeviceChangeNotifications.test_27_check_update_service1_ok __ self = def test_27_check_update_service1_ok(self): > self.test_12_get_eth_service1() transportpce_tests/hybrid/test01_device_change_notifications.py:396: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:193: in test_12_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_27_check_update_service1_ok _ TestTransportPCEDeviceChangeNotifications.test_32_check_update_portmapping_ok _ self = def test_32_check_update_portmapping_ok(self): > self.test_18_check_update_portmapping_ok() transportpce_tests/hybrid/test01_device_change_notifications.py:474: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:284: in test_18_check_update_portmapping_ok self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_32_check_update_portmapping_ok __ TestTransportPCEDeviceChangeNotifications.test_34_check_update_service1_ok __ self = def test_34_check_update_service1_ok(self): > self.test_12_get_eth_service1() transportpce_tests/hybrid/test01_device_change_notifications.py:480: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:193: in test_12_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_34_check_update_service1_ok _ TestTransportPCEDeviceChangeNotifications.test_39_check_update_portmapping_ok _ self = def test_39_check_update_portmapping_ok(self): > self.test_18_check_update_portmapping_ok() transportpce_tests/hybrid/test01_device_change_notifications.py:554: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:284: in test_18_check_update_portmapping_ok self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_39_check_update_portmapping_ok __ TestTransportPCEDeviceChangeNotifications.test_41_check_update_service1_ok __ self = def test_41_check_update_service1_ok(self): > self.test_12_get_eth_service1() transportpce_tests/hybrid/test01_device_change_notifications.py:560: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:193: in test_12_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_41_check_update_service1_ok __ TestTransportPCEDeviceChangeNotifications.test_45_check_update_service1_ok __ self = def test_45_check_update_service1_ok(self): > self.test_12_get_eth_service1() transportpce_tests/hybrid/test01_device_change_notifications.py:619: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transportpce_tests/hybrid/test01_device_change_notifications.py:193: in test_12_get_eth_service1 self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 ----------------------------- Captured stdout call ----------------------------- execution of test_45_check_update_service1_ok ____ TestTransportPCEDeviceChangeNotifications.test_46_delete_eth_service1 _____ self = def test_46_delete_eth_service1(self): self.del_serv_input_data["service-delete-req-info"]["service-name"] = "service1" response = test_utils.transportpce_api_rpc_request( 'org-openroadm-service', 'service-delete', self.del_serv_input_data) self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn('Renderer service delete in progress', response['output']['configuration-response-common']['response-message']) E AssertionError: 'Renderer service delete in progress' not found in "Service 'service1' does not exist in datastore" transportpce_tests/hybrid/test01_device_change_notifications.py:627: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_46_delete_eth_service1 =========================== short test summary info ============================ FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_05_connect_xpdrA_N1_to_roadmA_PP1 FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_06_connect_roadmA_PP1_to_xpdrA_N1 FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_12_get_eth_service1 FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_14_check_update_portmapping FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_15_check_update_openroadm_topo FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_16_check_update_service1 FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_portmapping_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_20_check_update_service1_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_23_check_update_openroadm_topo FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_25_check_update_portmapping_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_27_check_update_service1_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_32_check_update_portmapping_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_34_check_update_service1_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_39_check_update_portmapping_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_41_check_update_service1_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_45_check_update_service1_ok FAILED transportpce_tests/hybrid/test01_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_46_delete_eth_service1 17 failed, 34 passed in 110.72s (0:01:50)